package lab02.Test14;

/**
 * Created by lenovo on 2017/10/21.
 */
public class Rectangle extends Shape {

    double length;
    double wieth;

    public Rectangle(double l,double w){
        length=l;
        wieth=w;

    }
    @Override
    double getArea() {


        return length*wieth;
    }
}
